package com.shuai.user.mapper;

import com.shuai.user.domain.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author bxs
 * @description 针对表【user(用户表)】的数据库操作Mapper
 * @createDate 2024-07-04 13:19:29
 * @Entity generator.domain.entity.User
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    void decreaseUserToken(@Param("tokenNum") Integer tokenNum, @Param("userId") String userId);
}




